<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<title>讯都车网-用户中心</title>
    <link rel="stylesheet" href="{CSS_URL}member.css"/>
    <script src="{JS_URL}global.js"></script>
    <script src="{JS_URL}libs/seajs/2.2.0/seajs.js"></script>
    <script src="{JS_URL}libs/config.js"></script>
</head>
<body>
<div class="header">
	<div class="layout960 fn-clear">
		<h1 class="logo fn-left">
			<a href="{url('member/index')}" title="用户中心">我的<span>{if $MG['memtype']<5}车用宝{else}车企通{/if}</span></a>
		</h1>
		<ul class="nav fn-left">
			<li><a href="{SITE_URL}">讯都车网</a></li>
			<li><a href="{url('auto/index')}">车型库</a></li>
			<li><a href="{BBS_URL}">社区</a></li>
		</ul>
		<a class="back fn-right" href="{SITE_URL}">返回网站首页</a>
	</div>
</div>
<div class="member-oper">
	<div class="layout1000 c666 fn-clear">
		{if $_userid}
		<div class="fn-left">
			<span>欢迎您,{$_username}</span>
			<i class="line"></i><a href="{url('member/message')}" id="ixdcw_message">未读信息({if $_message}{$_message}{else}0{/if})</a>
			<i class="line"></i><a href="{url('member/chat', 'status=1')}" id="ixdcw_chat">{if $_chat}新对话{else}暂无新对话{/if}</a>
			<i class="line"></i><a class="c666" href="{url('member/edit')}?tab=1">修改密码</a>
		</div>
		{if $admin_user} <a class="exit fn-right" href="{url('member/index', 'action=logout')}" style="color:#FF0000;">注销授权</a>{/if}
		<a class="exit fn-right" href="{url('member/logout')}">退出</a>
		{else}
		<div class="fn-right">
			<a  href="{url('member/login')}">立即登录</a>
			<i class="line"></i><a  href="{url('member/register')}">注册会员</a>
		</div>
		{/if}
	</div>
</div>
<!--主体部分 start-->
<div class="main layout1000 mt10 fn-clear">
	{template 'side', 'member'}
	<!--right start-->
	<div class="right layout-right fn-right">
		{template 'intro', 'member'}